package com.demo.xj_plane.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.xj_plane.entity.XjThresholdEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface XjThresholdMapper extends BaseMapper<XjThresholdEntity> {

    XjThresholdEntity selectThreshold(@Param("cccc") String cccc, @Param("pointCode") String pointCode);

    int deleteThreshold(@Param("cccc") String cccc, @Param("pointCode") String pointCode);

    int pageCount(@Param("params") Map<String, Object> params);

    List<XjThresholdEntity> pageList(@Param("params") Map<String, Object> params);
}
